/**
 * 常量
 */
function initFontSize() {
	var htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
	var htmlDom = document.getElementsByTagName('html')[0];
	// htmlDom.style.fontSize = htmlWidth / 18 + 'px'; 
	htmlDom.style.setProperty('font-size',  htmlWidth / 18 + 'px', 'important');
	// console.log(htmlWidth)
}

/** ajax请url拼接头部 */
var AJAX_URL_HEAD = "https://d.apicloud.com/mcm/api/";

var DEBUG = true;

var AJAX_PARAM = {
	headers: {
		"X-APICloud-AppId": "A6078991134970",
		"X-APICloud-AppKey": "bb3d0326284e1306de46d29c928e9fa8632d156c.1523672167637"
	},
	data: {},
	dataType: "json",
	method: "post",
	timeout: 30
}

initFontSize();